%include "boot.inc"

section mbr vstart=0x7c00
    mov ax,cs
    mov ds,ax
    mov es,ax
    mov ss,ax
    mov fs,ax
    mov sp,0x7c00
    mov ax,0xb800
    mov gs,ax

    mov ax,0600h
    mov bx,0700h
    mov cx,0
    mov dx,184fh
    int 10h

    mov byte [gs:0x00],'1'
    mov byte [gs:0x01],0xa4

    mov byte [gs:0x02],' '
    mov byte [gs:0x03],0xa4

    mov byte [gs:0x04],'M'
    mov byte [gs:0x05],0xa4

    mov byte [gs:0x06],'B'
    mov byte [gs:0x07],0xa4

    mov byte [gs:0x08],'R'
    mov byte [gs:0x09],0xa4

    jmp $
    times 510-($-$$) db 0
    db 0x55,0xaa